package o;

import android.content.Context;

public class eks {
    private eav ˋ;
    private AsyLoader ॱ;

    public void ˋ(int i) {
        if (cfw.ॱ(this.ॱ)) {
            if (this.ॱ != null) {
                this.ॱ.cancel(true);
            }
            cvt o_cgh = new cgh();
            o_cgh.setServiceType_(i);
            this.ॱ = cfw.ˎ(o_cgh, new ekf());
        }
    }

    public void ˏ() {
        if (this.ॱ != null) {
            this.ॱ.ˎ(true);
        }
    }

    public void ˊ(Context context) {
        if (this.ˋ == null || !this.ˋ.isAlive()) {
            this.ˋ = new eav();
            this.ˋ.start();
            return;
        }
        Logger.ˏ("BatchReport", "mBatchReportInstallResultTask is running!");
    }
}
